<template>
	<view class="" style="padding: 10rpx;">

		<uv-parse class="" :content="richText" :selectable="true" lazy-load></uv-parse>
	</view>









	</view>
</template>

<script>
	export default {
		data() {
			return {
				open: this.$imgs.open,
				fireThree: this.$imgs.fireThree,
				indexTab: '',
				is_show: false,
				navTop: '',
				helpCenterBgFive: this.$imgs.helpCenterBgFive,
				groupsignFive: this.$imgs.groupsignFive,
				videoShowUrl: 'https://yunhunjian123.oss-cn-shanghai.aliyuncs.com/1747213524742.mp4',
				helpList: [{
					id: 1,
					title: '标题内容',
					content: '充值对出借人是免费的，手续费由平台承担。充值对出借人是免费的，手续费由平台承担。'


				}, {
					id: 2,
					title: '标题内容',
					content: '充值对出借人是免费的，手续费由平台承担。充值对出借人是免费的，手续费由平台承担。'


				}, {
					id: 3,
					title: '标题内容',
					content: '充值对出借人是免费的，手续费由平台承担。充值对出借人是免费的，手续费由平台承担。'


				}, ],
				richText: '',
				recommendList: [],
				problemList: []


			}
		},
		onLoad(options) {
			const app = getApp();
			this.navTop = app.globalData.navTop;

			console.log(options)
			if (options.obj) {
				this.richText = JSON.parse((decodeURIComponent(options.obj)));


			}


		},
		computed: {


		},
		methods: {

			async problemListFn() {
				const result = await this.$http.get({
					url: this.$api.problemList,

				});
				if (result.errno == 0) {
					console.log(result.data)
					this.recommendList = result.data.recommend

					this.problemList = result.data.problem


				} else {
					this.$sun.toast(result.message, 'none')

				}
			},
			async helpCenterFn() {
				const result = await this.$http.get({
					url: this.$api.system,

				});
				if (result.errno == 0) {
					console.log(result.data)
					// this.$sun.toast(result.message, 'none')

					this.richText = result.data.help_text


				} else {
					this.$sun.toast(result.message, 'none')

				}
			},


			updateCheck(index, item) {
				this.is_show = !this.is_show
				this.indexTab = item.id
			},
			backNav() {
				this.$sun.navBack()
			}

		}
	}
</script>

<style lang="less">
	.v-home-page {

		// background-image: (var(--bg-image));
		background-repeat: no-repeat;
		background-size: cover;
		position: relative;
		height: 100vh;

		// padding: 20rpx;
		.OtherIssues {
			width: 750rpx;
			margin-top: 80rpx;
			background-color: #fff;

			.signImg {
				width: 32rpx;
				height: 32rpx;
			}
		}

		.classContianer {
			background-color: #fff;
			// margin: 30rpx 25rpx 0rpx;
			border-radius: 20rpx;
			// padding-top: 25rpx;


			.v-class {
				width: calc(100% / 4);



				image {
					// margin-top: 48rpx;
					width: 110rpx;
					height: 110rpx;
				}

				text {
					font-size: 24rpx;
					color: #333333;
					margin-top: 24rpx;
				}
			}
		}

		.list-public {
			width: 710rpx;
			margin: 0;
		}

		.right-image {
			width: 30rpx;
			height: 30rpx;
			position: relative;
			z-index: 3;

			.right-image-icon {
				width: 100%;
				height: 100%;
				transition-property: all;
				transition-duration: .1s;
				transition-timing-function: linear;
				transform: rotate(0);
			}

			.right-image-icon-c {
				transition-property: all;
				transition-duration: .1s;
				transition-timing-function: linear;
				transform: rotate(-90deg);
			}
		}


		.rule-head {
			display: flex;
			justify-content: space-around;
			align-items: center;
			padding-top: 0 20rpx;

			.line {
				flex: 1;
				height: 2rpx;
				background-color: #c5c5c5;
				;
			}

			.title {
				width: 200rpx;
				color: #666666;
				line-height: 70rpx;
				font-size: 30rpx;
				text-align: center;
				margin: 0 20rpx;
				border-radius: 8rpx;

			}
		}


		.right-image {
			width: 30rpx;
			height: 30rpx;
			position: relative;
			z-index: 3;

			.right-image-icon {
				width: 100%;
				height: 100%;
				transition-property: all;
				transition-duration: .1s;
				transition-timing-function: linear;
				transform: rotate(0);
			}

			.right-image-icon-c {
				transition-property: all;
				transition-duration: .1s;
				transition-timing-function: linear;
				transform: rotate(-90deg);
			}
		}

		.img {
			width: 80rpx;
			height: 40rpx;
			border-radius: 50%;
			margin-right: 20rpx;
		}
	}
</style>